package com.isoftstone.bank.dao;


import com.isoftstone.bank.entity.PAd;
import com.isoftstone.common.Page;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PAdMapper {
    int deleteByPrimaryKey(Long adId);

    int insert(PAd record);

    int insertSelective(PAd record);

    PAd selectByPrimaryKey(Long adId);

    int updateByPrimaryKeySelective(PAd record);

    int updateByPrimaryKey(PAd record);

    List<PAd> selectlistPage(Page page);

    List<PAd> getPAdList()throws Exception;
}